<template>
  <div id="app">
     <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: 'App',
  data(){
    return {
       sendCarsList:[]
    }
  },
  mounted(){
    this.getLogin()
  },
  methods:{
    //获取登录信息
    getLogin(){
         this.$store.commit({
            type: "setUser",
            data:{
              token:localStorage.getItem("token"),
              userId:localStorage.getItem("userId"),
              loginName:localStorage.getItem("loginName"),
            }
          });
    }
  },
  components: {
    
  }
}
</script>

<style>
#app .van-nav-bar{
  background-color: #3A73F6;
 
}

#app  .van-nav-bar .van-icon,
#app .van-nav-bar__text,
#app .van-nav-bar__title{
color: #ffffff;
}
.container{
  position:absolute;
  bottom: 70px;
  top: 1.22667rem;
  overflow-y: scroll;
  width: 100%;
 /* padding:10px; */

}
body{
  background: #f2f2f2;
}
.module{
   margin-top: 10px;
}
.module-title{
  display: flex;
  flex-direction: row;
  align-items: center;
}
.title-icon{
  display: block;
  height:36px;
  width:36px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-size: cover;
}
.tittle-text{
  font-size: 15px;
  color:#333333;
  padding-left: 10px;

}
.label-class{
  flex: 0.5;
}
.van-search__content.van-search__content--square{
  background: #ffffff;
}
.van-search{
  height: 46px;
  border-radius: 12px;
}
</style>
